#include "StdAfx.h"
#include <MMSystem.h>
#include "Render.h"



CRender::CRender()
{
	m_pRT = new SRenderThread;
	m_pRT->StartRenderThread();
}

CRender::~CRender()
{
}


bool CRender::Initialize( SGameEnviroument* env )
{
	//
	uint32 m_bEditor  = false;
	uint32 m_bShaderCacheGen  = false;

	return true;
}

void CRender::Shutdown()
{

}

int CRender::Update()
{

	static DWORD  time = 0;
	time    = ::timeGetTime();

	if (time%10000 == 0)
	{
		MessageBox(NULL,"the picture will be show every 10 seconds","Hello Jobs",MB_OK);
	}

	return 1;
}
